package com.nk.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

    // 首页
    @RequestMapping("index")
    public String index(){
        return "index";
    }

    // 登录
    @RequestMapping("login")
    public String login(){
        return "redirect:login.jsp";
    }

}
